@using Elsa.Studio.Contracts
@inherits StudioComponentBase
@inject IThemeService ThemeService

<MudThemeProvider IsDarkMode="false" Theme="@ThemeService.CurrentTheme"/>
<MudDialogProvider/>

<WorkflowDefinitionEditor DefinitionId="@DefinitionId"/>

@code
{
    /// <summary>
    /// The ID of the workflow definition to edit.
    /// </summary>
    [Parameter]
    public string DefinitionId { get; set; } = default!;
}